/*
 * @Author: 十二 1725060993@qq.com
 * @Date: 2024-03-24 21:46:41
 * @LastEditors: 十二 1725060993@qq.com
 * @LastEditTime: 2024-03-29 20:12:35
 * @FilePath: \starter\script.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const heighMark = 1.69;
const weightMark = 78;
const hieghtJohn = 1.76;
const weightJohn = 92;

let bmiMark = weightMark / heighMark ** 2;
let bmiJhon = weightJohn / hieghtJohn ** 2;

console.log(`Mark的BMI是${bmiMark}`);
console.log(`Jhon的BMI是${bmiJhon}`);

let higher = bmiMark > bmiJhon;

console.log(`Mark higher than Jhon is ${higher}`);
let a = +'10';
console.log(Number(a))
console.log(a + 10);

